package com.anyou.mall.goo.goodsAudit.service;

import java.util.List;

import com.anyou.common.core.domain.ApiResult;
import com.anyou.mall.goo.goods.dto.GoodsSearchParams;
import com.anyou.mall.goo.goodsAudit.domain.goodsAudit;
import com.anyou.mall.goo.goodsAudit.dto.GoodsAuditSearchParams;

/**
 * 商品审核Service接口
 *
 * @author ruoyi
 * @date 2022-03-25
 */
public interface IgoodsAuditService
{
    /**
     * 查询商品审核
     *
     * @param goodsId 商品审核主键
     * @return 商品审核
     */
    public goodsAudit selectgoodsAuditByGoodsId(Long goodsId);

    /**
     * 查询商品审核列表
     *
     * @param goodsAudit 商品审核
     * @return 商品审核集合
     */
    public List<goodsAudit> selectgoodsAuditList(GoodsSearchParams goodsAudit);

    /**
     * 新增商品审核
     *
     * @param goodsAudit 商品审核
     * @return 结果
     */
    public int insertgoodsAudit(goodsAudit goodsAudit);

    /**
     * 修改商品审核
     *
     * @param goodsAudit 商品审核
     * @return 结果
     */
    public int updategoodsAudit(goodsAudit goodsAudit);

    /**
     * 批量删除商品审核
     *
     * @param goodsIds 需要删除的商品审核主键集合
     * @return 结果
     */
    public int deletegoodsAuditByGoodsIds(Long[] goodsIds);

    /**
     * 删除商品审核信息
     *
     * @param goodsId 商品审核主键
     * @return 结果
     */
    public int deletegoodsAuditByGoodsId(Long goodsId);

    /**
     * 查询商品规格
     * @param goodsId
     * @return
     */
    ApiResult selectGoodsSpecs(Long goodsId);

    /**
     * 查询商品明细
     * @param goodsId  商品id
     * @return
     */
    ApiResult GoogdsDetail(Long goodsId);

    /**
     * 商品审核
     * @return
     */
    ApiResult updateAuditStatus(Long[] goodsId, String auditStatus, String auditRemark );
}
